/*
	Phone
	Call Log
	Copyright (c) 2007-2009, Palm Inc.
	All rights reserved.

*/

/* partial workaround for NOV-88871 */
div[name='topSpacer'], div[name='bottomSpacer'] {
	background-color: transparent !important;
}

#call-log-main {
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
}

p {
    margin: 0px;
    padding: 0px;
}

.glass-panel.fixed {
		position: fixed;
		top: 0;
		bottom: 60px;
}

.call-log.keypad-flex {
  top: 0px;
  bottom: 0;
  max-height: none;
  z-index: 0;
}

/* toggle buttons at the top */

.all-button,
.missed-button {
		width: 160px;
		height: 43px;
		padding-top: 2px;
		position: absolute;
		top: 3px;
		vertical-align: middle;
		font-size: 14px;
		font-weight: bold;
		line-height: 45px;
		text-align: center;
		color: white;
		margin: 0;
		z-index: 5;
		text-transform: uppercase;
}

.all-button {
		left: 0;
		background: url(../images/call-log-sprite.png) -112px 0px no-repeat;
}
.all-button.selected { background-position: -112px -45px; }

.missed-button {
		left: 160px;
		background: url(../images/call-log-sprite.png) -272px 0px no-repeat;
}
.missed-button.selected { background-position: -272px -45px; }

/* List Items in the Call Log */

.call-log-container {
    height: 100%;
    position: absolute;
    top: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.call-log-container-spacer {
	height: 50px;
}

/*Prevent palm-rows inside drawers to get selected styling*/
.palm-dark .palm-row.selected .palm-drawer-contents .title {
  color: #fff;
}

#calllog_list {
		width: 100%;
}

.call-log.view-menu > .palm-menu-fade {
  background-image: url(../images/call-log-view-menu-bg.png);
}

.call-log .palm-menu-text div {
  margin-right: -18px;
  margin-left: -18px;  
}

#calllog_list .palm-list .row,
#conference_member_list .palm-list .row {
		background: url(../images/call-log-list-separator.png) bottom left repeat-x;
}

.call-log-container .palm-list-section-label td.left {
		background: url(../images/list-section-line.png) right no-repeat;
}

.call-log-container .palm-list-section-label td.label {
		color: #FFF;
}

.call-log-container .palm-list-section-label td.right {
		width: 100%;
		padding-right: 8px;
		background: url(../images/list-section-line.png) left no-repeat;
}

.call-log-info {
		width: 40px;
		height: 40px;
		float: right;
		position: relative;
		margin: 10px 7px 0px 0px;
}

.call-log-info.hide-avatar {
		display: none;
}

.call-log-container .palm-row .title {
		color: #fff;
    padding-top: 10px;
    padding-right: 0px;
    padding-left: 15px;
}
.title.missed {
		font-weight: bold;
}

.call-log-container .palm-row .subtitle {
		padding: 0px 0px 14px 15px;
		font-size: 15px !important;
		text-transform: uppercase;
    color: #c1cebc;
    margin-top: -4px;
}

.call-log-icon.missed {
	display: block;
	width: 24px;
	height: 24px;
	float: right;
	background: url(../images/call-log-list-sprite.png) -148px 0px no-repeat;
	margin: 12px 7px 0 0;
}

.call-log-avatar-wrapper {
    position: relative;
    float: right;
}

.call-log-list-pic {
    float: right;
    border-radius: 5px;
    margin: 10px 30px 0px 0px;        
}

.call-log-avatar-frame {
    float: right;
    margin-right: -71px;
    width: 74px;
		height: 70px;
		background: url(../images/call-log-list-sprite.png) 0px 0px no-repeat;
}

.call-log-avatar-frame.selected { background-position: 0px -70px; }
.open .call-log-avatar-frame { background-position: -74px 0px; }
.open .call-log-avatar-frame.selected { background-position: -74px -70px; }

.call-count-container {
  position: relative;
}

.call-count {
  height: 30px;
  color: #ffff;
  font-weight: bold;
  font-size: 15px;
  position: absolute;
  left: 227px;
  margin-top: 1px;
  -webkit-border-image: url(../images/call-log-count-pill.png) 0 15 0 15;
  border-width: 0 15px 0 15px;
}
.call-count-wrapper {
  margin: 2px -4px 0px -4px;
}

.palm-row.call-log-details-row {
  padding: 2px 0px 6px 15px;
  line-height: 29px;
  color: #bbbbbb;
  min-height: 0px;
}

.full-display-name,
.call-log-details-item * {
  font-size: 15px;
}

.time-type {
  float: right;
  min-width: 78px;
  margin-right: 10px;
  text-align: right;  
}

.call-log-details-item > p > span {
  text-transform: uppercase;
  min-width: 15px;
  display: inline-block;
  color: #ffffff;
  float: left;
}

.type-icon {
  float: left;
  margin: 3px 5px 0px 0px;
  width: 24px;
  height: 24px;
  background: url(../images/call-log-list-sprite.png) -148px 0px no-repeat;
}

.type-icon.incoming { background-position: -148px -24px; }
.type-icon.outgoing { background-position: -148px -48px; }
.type-icon.ignored { background-position: -148px -72px; }

.call-log-sms {
  float: right;  
  margin-top: 1px;
  margin-right: 5px;
  width: 48px;
  height: 48px;
  background: url(../images/call-log-list-sprite.png) -172px 0px no-repeat;
}            

.call-log-sms.selected { background-position: -172px -48px; }

/* *************Sam, patch start for IP dial************ */
.call-log-ipdial {
  float: right;  
  margin-top: 1px;
  margin-right: 5px;
  width: 48px;
  height: 48px;
  background: url(../images/call-log-list-sprite-2.png) 0px 0px no-repeat;
}            

.call-log-ipdial.selected { background-position: 0px -48px; }
/* *************Sam, patch end for IP dial  ************ */

.call-log-label {
  float: right;
  text-transform: uppercase;
  font-size: 14px;
  padding-right: 6px;
  line-height: 47px;    
}

.calllogdetails .palm-drawer-container {
  -webkit-border-image: url(../images/call-log-drawer-bg.png) 20 1 20 1 repeat repeat;
}

/*
 * Empty Calllog Styles
 */

.empty-calllog-main .large-empty-icon {
		width: 100%;
		height: 120px;
		margin: 0 auto;
		padding-top: 60px;
		color: #FFFFFF;
}

.empty-calllog-main .large-empty-icon.phone {
		background: url(../images/empty-calllog-phone.png) bottom center no-repeat;
}

.empty-calllog-main .empty-text {
		text-align: center;
		padding: 18px 30px 0px 30px;
		font-size: 20px;
		color: #fff;
		margin: 0 auto;
}

.bottom-glass-fade {
		width: 320px;
		height: 29px;
		background: url(../images/call-log-sprite.png) 0px -124px no-repeat;
		position: absolute;
		bottom: 0px;
        pointer-events: ignore;
}